Important! Some of the scripts will make changes to existing files!
Make sure to commit any changes before running a script!
This way you can roll back if something goes wrong.
This script will generate:
- The skeleton of a tenant resolver
- Domain class to represent tenants
- Simple tenant repository implementation
You will have to update grails-app/conf/Config.groovy
and grails-app/conf/spring/resources.groovy
after running this script.Example: grails mt-quickstart com.yourapp DomainTenantResolver CachingTenantRepository Customer